/*******************************************************************************
Title: Individualism during Crisis 
Authors: Bo Bian, Jingjing Li, Ting Xu, Natasha Z. Foutz
Purpose: Master do file that run all the do files
*******************************************************************************/

clear all
set more off
set matsize 5000
cap log close
set linesize 200

* change to the folder where you download the replication folder
* the replication folder should have a data subfolder and a code subfolder 
cd "XXX" 

* create additional folders to store figures and tables 
cap mkdir "tables"
cap mkdir "figures"
cap mkdir "figures_png"

* run do files 
do "code\tables_figures_county_level.do"
/*******************************************************************************
Produce the following tables and figures
         - Table 1, 2, 4, 5, 6 
         - Appendix Table A2, A3, A4, A6, A7, A9, A10, A11, A12, A14
		 - Figure 1
		 - Appendix Figure A1, A3, A4, A5, A6, A7
*******************************************************************************/



do "code\tables_figures_country_level.do"
/*******************************************************************************
Produce the following tables and figures
         - Table 8 Panel A
		 - Appendix Table A17 Panel A, Panel C
		 - Appendix Table A18
		 - Appendix Figure A8, A9
*******************************************************************************/



*do "code\tables_figures_individual_level.do"
/*******************************************************************************
Produce the following tables and figures
         - Table 3
		 - Appendix Table A1, A5, A8
		 - Figure 2
		 - Appendix Figure A2(a) and A2(b)
		 
Please note, due to the NDA agreement with Xmode we are not able to provide 
disaggregated individual-level dataset based on which these the above tables are generated.

The code for these figures and tables is provided for reference.
*******************************************************************************/




do "code\tables_figures_vaccine.do"  
/*******************************************************************************
Produce the following tables
         - Table 7, 8 Panel B
		 - Appendix Table A15, A16, A17 Panel B
*******************************************************************************/




do "code\table_A13.do"  
/*******************************************************************************
Produce the following tables
         - Appendix Table A13
*******************************************************************************/
